package com.pingba.entity;

/**
 * Created by Administrator on 2015/10/25 0025.
 */
public class User extends BaseEntity {

    private long sid;// int(11) NOT NULL AUTO_INCREMENT COMMENT '流水号',
    private String nickName;// varchar(30) NOT NULL DEFAULT '' COMMENT '用户名',
    private String phone;//  varchar(11) NOT NULL DEFAULT '0' COMMENT '电话号码，必须唯一',
    private boolean male;// TINYINT(1) NOT NULL DEFAULT '0' COMMENT '性别，0位男性，1为女性',
    private String passwd;//VARCHAR(30) COMMENT '账号密码',
    private String headUrl;// varchar(50) COMMENT '头像的url地址',
    private long headChangeTime;// DATETIME COMMENT '最后的头像更换时间',
    private int age;//TINYINT(2) NOT NULL DEFAULT '18'  COMMENT '年龄，默认18周岁',
    private long birthday;// DATE COMMENT '生日，可以为不填',
    private long lastLoginDay;// DATE COMMENT '最后的登录时间',
    private String area;// VARCHAR(15) NOT NULL DEFAULT '杭州',
    private String signature;// VARCHAR(20) COMMENT '个性签名',
    private long regTime;// DATETIME NOT NULL  COMMENT '具体的注册时间',
    private boolean privacy;// TINYINT(1) NOT NULL DEFAULT '0' COMMENT
    private String wecharUnionId;//微信的登录的id号

    private String province;
    private String city;
    private String district;


    public String getWecharUnionId() {
        return wecharUnionId;
    }

    public void setWecharUnionId(String wecharUnionId) {
        this.wecharUnionId = wecharUnionId;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public long getBirthday() {
        return birthday;
    }

    public void setBirthday(long birthday) {
        this.birthday = birthday;
    }

    public long getHeadChangeTime() {
        return headChangeTime;
    }

    public void setHeadChangeTime(long headChangeTime) {
        this.headChangeTime = headChangeTime;
    }

    public String getHeadUrl() {
        return headUrl;
    }

    public void setHeadUrl(String headUrl) {
        this.headUrl = headUrl;
    }

    public long getLastLoginDay() {
        return lastLoginDay;
    }

    public void setLastLoginDay(long lastLoginDay) {
        this.lastLoginDay = lastLoginDay;
    }

    public boolean isMale() {
        return male;
    }

    public void setMale(boolean male) {
        this.male = male;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getPasswd() {
        return passwd;
    }

    public void setPasswd(String passwd) {
        this.passwd = passwd;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public boolean isPrivacy() {
        return privacy;
    }

    public void setPrivacy(boolean privacy) {
        this.privacy = privacy;
    }

    public long getRegTime() {
        return regTime;
    }

    public void setRegTime(long regTime) {
        this.regTime = regTime;
    }

    public long getSid() {
        return sid;
    }

    public void setSid(long sid) {
        this.sid = sid;
    }

    public String getSignature() {
        return signature;
    }

    public void setSignature(String signature) {
        this.signature = signature;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getDistrict() {
        return district;
    }

    public void setDistrict(String district) {
        this.district = district;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }
}
